﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Net.Security;

namespace RilattackLibrary
{
	[ServiceContract(Namespace = "RilAttack",
			CallbackContract = typeof(ICallBack),
			SessionMode = SessionMode.Allowed,
			ProtectionLevel = ProtectionLevel.None)]
	public interface ICallBack
    {
        [OperationContract(IsOneWay =true)]
        void beginNewGame(GameConfiguration configuration);

        [OperationContract(IsOneWay = true)]
        void InitPlayer(Guid playerUid, string pseudo, int posX, int posY);

        [OperationContract(IsOneWay = true)]
        void MovePlayer(String playerNick, int posX, int posY);
    }
}